package com.mb.app.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 商品分类
 * </p>
 *
 * @author liliping
 * @since 2019-04-01
 */
@TableName("tb_product_class")
public class TbProductClass implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 分类编号
	 */
//	@TableField(value="class_id")
	@TableId(value = "class_id")
	private Long classId;

	/**
	 * 分类名称
	 */
	@TableField(value="class_name")
	private String className;

	/**
	 * 海报地址
	 */
	@TableField(value="pic_url")
	private String picUrl;

	/**
	 * 备注
	 */
	private String remarks;

	/**
	 * 状态 1:正常 0:删除
	 */
	@TableField(value="data_status")
	private Integer dataStatus;

	/**
	 * 添加时间
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 修改时间
	 */
	@TableField(value="update_time")
	private Date updateTime;

	/**
	 * 删除时间
	 */
	@TableField(value="delete_time")
	private Date deleteTime;

	/**
	 * 添加人
	 */
	@TableField(value="add_user_id")
	private Long addUserId;

	/**
	 * 修改人
	 */
	@TableField(value="update_user_id")
	private Long updateUserId;

	/**
	 * 删除人
	 */
	@TableField(value="delete_user_id")
	private Long deleteUserId;


	/**
	 *
	 * 排序
	 */
	@TableField(value = "order_num")
	private Integer orderNum;

	@TableField(value = "parent_class_id")
	private Long parentClassId;


	@TableField(value = "class_type")
	private Integer classType;

	/**
	 * 父级分类名称
	 */
	@TableField(exist = false)
	private String parentClassName;

	/**
	 * logo 地址
	 */
	@TableField(value = "logo_url")
	private String logoUrl;

	public String getLogoUrl() {
		return logoUrl;
	}

	public void setLogoUrl(String logoUrl) {
		this.logoUrl = logoUrl;
	}

	public String getParentClassName() {
		return parentClassName;
	}

	public void setParentClassName(String parentClassName) {
		this.parentClassName = parentClassName;
	}

	public Long getParentClassId() {
		return parentClassId;
	}

	public void setParentClassId(Long parentClassId) {
		this.parentClassId = parentClassId;
	}

	public Integer getClassType() {
		return classType;
	}

	public void setClassType(Integer classType) {
		this.classType = classType;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public Long getClassId() {
		return classId;
	}

	public void setClassId(Long classId) {
		this.classId = classId;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Integer getDataStatus() {
		return dataStatus;
	}

	public void setDataStatus(Integer dataStatus) {
		this.dataStatus = dataStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getDeleteTime() {
		return deleteTime;
	}

	public void setDeleteTime(Date deleteTime) {
		this.deleteTime = deleteTime;
	}

	public Long getAddUserId() {
		return addUserId;
	}

	public void setAddUserId(Long addUserId) {
		this.addUserId = addUserId;
	}

	public Long getUpdateUserId() {
		return updateUserId;
	}

	public void setUpdateUserId(Long updateUserId) {
		this.updateUserId = updateUserId;
	}

	public Long getDeleteUserId() {
		return deleteUserId;
	}

	public void setDeleteUserId(Long deleteUserId) {
		this.deleteUserId = deleteUserId;
	}

}
